Optimal. Leaf size=267 \[ -\frac {16 b f m n}{225 e x^3}+\frac {12 b f^2 m n}{25 e^2 x}+\frac {2 b f^{5/2} m n \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )}{25 e^{5/2}}-\frac {2 f m \left (a+b \log \left (c x^n\right )\right )}{15 e x^3}+\frac {2 f^2 m \left (a+b \log \left (c x^n\right )\right )}{5 e^2 x}+\frac {2 f^{5/2} m \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right ) \left (a+b \log \left (c x^n\right )\right )}{5 e^{5/2}}-\frac {b n \log \left (d \left (e+f x^2\right )^m\right )}{25 x^5}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{5 x^5}-\frac {i b f^{5/2} m n \text {Li}_2\left (-\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{5 e^{5/2}}+\frac {i b f^{5/2} m n \text {Li}_2\left (\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{5 e^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 267, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 6, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {2505, 331, 211,
2423, 4940, 2438} \begin {gather*} -\frac {i b f^{5/2} m n \text {PolyLog}\left (2,-\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{5 e^{5/2}}+\frac {i b f^{5/2} m n \text {PolyLog}\left (2,\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{5 e^{5/2}}+\frac {2 f^{5/2} m \text {ArcTan}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right ) \left (a+b \log \left (c x^n\right )\right )}{5 e^{5/2}}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{5 x^5}+\frac {2 f^2 m \left (a+b \log \left (c x^n\right )\right )}{5 e^2 x}-\frac {2 f m \left (a+b \log \left (c x^n\right )\right )}{15 e x^3}+\frac {2 b f^{5/2} m n \text {ArcTan}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )}{25 e^{5/2}}-\frac {b n \log \left (d \left (e+f x^2\right )^m\right )}{25 x^5}+\frac {12 b f^2 m n}{25 e^2 x}-\frac {16 b f m n}{225 e x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 331
Rule 2423
Rule 2438
Rule 2505
Rule 4940
Rubi steps
\begin {align*} \int \frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{x^6} \, dx &=-\frac {2 f m \left (a+b \log \left (c x^n\right )\right )}{15 e x^3}+\frac {2 f^2 m \left (a+b \log \left (c x^n\right )\right )}{5 e^2 x}+\frac {2 f^{5/2} m \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right ) \left (a+b \log \left (c x^n\right )\right )}{5 e^{5/2}}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{5 x^5}-(b n) \int \left (-\frac {2 f m}{15 e x^4}+\frac {2 f^2 m}{5 e^2 x^2}+\frac {2 f^{5/2} m \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )}{5 e^{5/2} x}-\frac {\log \left (d \left (e+f x^2\right )^m\right )}{5 x^6}\right ) \, dx\\ &=-\frac {2 b f m n}{45 e x^3}+\frac {2 b f^2 m n}{5 e^2 x}-\frac {2 f m \left (a+b \log \left (c x^n\right )\right )}{15 e x^3}+\frac {2 f^2 m \left (a+b \log \left (c x^n\right )\right )}{5 e^2 x}+\frac {2 f^{5/2} m \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right ) \left (a+b \log \left (c x^n\right )\right )}{5 e^{5/2}}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{5 x^5}+\frac {1}{5} (b n) \int \frac {\log \left (d \left (e+f x^2\right )^m\right )}{x^6} \, dx-\frac {\left (2 b f^{5/2} m n\right ) \int \frac {\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )}{x} \, dx}{5 e^{5/2}}\\ &=-\frac {2 b f m n}{45 e x^3}+\frac {2 b f^2 m n}{5 e^2 x}-\frac {2 f m \left (a+b \log \left (c x^n\right )\right )}{15 e x^3}+\frac {2 f^2 m \left (a+b \log \left (c x^n\right )\right )}{5 e^2 x}+\frac {2 f^{5/2} m \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right ) \left (a+b \log \left (c x^n\right )\right )}{5 e^{5/2}}-\frac {b n \log \left (d \left (e+f x^2\right )^m\right )}{25 x^5}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{5 x^5}+\frac {1}{25} (2 b f m n) \int \frac {1}{x^4 \left (e+f x^2\right )} \, dx-\frac {\left (i b f^{5/2} m n\right ) \int \frac {\log \left (1-\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{x} \, dx}{5 e^{5/2}}+\frac {\left (i b f^{5/2} m n\right ) \int \frac {\log \left (1+\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{x} \, dx}{5 e^{5/2}}\\ &=-\frac {16 b f m n}{225 e x^3}+\frac {2 b f^2 m n}{5 e^2 x}-\frac {2 f m \left (a+b \log \left (c x^n\right )\right )}{15 e x^3}+\frac {2 f^2 m \left (a+b \log \left (c x^n\right )\right )}{5 e^2 x}+\frac {2 f^{5/2} m \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right ) \left (a+b \log \left (c x^n\right )\right )}{5 e^{5/2}}-\frac {b n \log \left (d \left (e+f x^2\right )^m\right )}{25 x^5}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{5 x^5}-\frac {i b f^{5/2} m n \text {Li}_2\left (-\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{5 e^{5/2}}+\frac {i b f^{5/2} m n \text {Li}_2\left (\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{5 e^{5/2}}-\frac {\left (2 b f^2 m n\right ) \int \frac {1}{x^2 \left (e+f x^2\right )} \, dx}{25 e}\\ &=-\frac {16 b f m n}{225 e x^3}+\frac {12 b f^2 m n}{25 e^2 x}-\frac {2 f m \left (a+b \log \left (c x^n\right )\right )}{15 e x^3}+\frac {2 f^2 m \left (a+b \log \left (c x^n\right )\right )}{5 e^2 x}+\frac {2 f^{5/2} m \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right ) \left (a+b \log \left (c x^n\right )\right )}{5 e^{5/2}}-\frac {b n \log \left (d \left (e+f x^2\right )^m\right )}{25 x^5}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{5 x^5}-\frac {i b f^{5/2} m n \text {Li}_2\left (-\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{5 e^{5/2}}+\frac {i b f^{5/2} m n \text {Li}_2\left (\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{5 e^{5/2}}+\frac {\left (2 b f^3 m n\right ) \int \frac {1}{e+f x^2} \, dx}{25 e^2}\\ &=-\frac {16 b f m n}{225 e x^3}+\frac {12 b f^2 m n}{25 e^2 x}+\frac {2 b f^{5/2} m n \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )}{25 e^{5/2}}-\frac {2 f m \left (a+b \log \left (c x^n\right )\right )}{15 e x^3}+\frac {2 f^2 m \left (a+b \log \left (c x^n\right )\right )}{5 e^2 x}+\frac {2 f^{5/2} m \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right ) \left (a+b \log \left (c x^n\right )\right )}{5 e^{5/2}}-\frac {b n \log \left (d \left (e+f x^2\right )^m\right )}{25 x^5}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{5 x^5}-\frac {i b f^{5/2} m n \text {Li}_2\left (-\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{5 e^{5/2}}+\frac {i b f^{5/2} m n \text {Li}_2\left (\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{5 e^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 0.13, size = 399, normalized size = 1.49 \begin {gather*} -\frac {16 b e^{3/2} f m n x^2-108 b \sqrt {e} f^2 m n x^4-18 b f^{5/2} m n x^5 \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )+30 a e^{3/2} f m x^2 \, _2F_1\left (-\frac {3}{2},1;-\frac {1}{2};-\frac {f x^2}{e}\right )+90 b f^{5/2} m n x^5 \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right ) \log (x)+30 b e^{3/2} f m x^2 \log \left (c x^n\right )-90 b \sqrt {e} f^2 m x^4 \log \left (c x^n\right )-90 b f^{5/2} m x^5 \tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right ) \log \left (c x^n\right )-45 i b f^{5/2} m n x^5 \log (x) \log \left (1-\frac {i \sqrt {f} x}{\sqrt {e}}\right )+45 i b f^{5/2} m n x^5 \log (x) \log \left (1+\frac {i \sqrt {f} x}{\sqrt {e}}\right )+45 a e^{5/2} \log \left (d \left (e+f x^2\right )^m\right )+9 b e^{5/2} n \log \left (d \left (e+f x^2\right )^m\right )+45 b e^{5/2} \log \left (c x^n\right ) \log \left (d \left (e+f x^2\right )^m\right )+45 i b f^{5/2} m n x^5 \text {Li}_2\left (-\frac {i \sqrt {f} x}{\sqrt {e}}\right )-45 i b f^{5/2} m n x^5 \text {Li}_2\left (\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{225 e^{5/2} x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.20, size = 2385, normalized size = 8.93
method | result | size |
risch | \(\text {Expression too large to display}\) | \(2385\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\ln \left (d\,{\left (f\,x^2+e\right )}^m\right )\,\left (a+b\,\ln \left (c\,x^n\right )\right )}{x^6} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________